{include file="public_iframe:head"}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>会员详情</h5>
                    <div class="ibox-tools" style="margin-top: -9px;">
                        <a href="javascript:location.reload();" class="btn btn-primary"><i class="fa fa-refresh"></i> 刷新</a>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-3">
                        </div>
                        <form class="form-inline" action="" method="get">
                            <div class="col-sm-9">
                                <div class="input-group col-sm-3  pull-right">
                                    <input type="text" name="keyword" value="{$keyword?$keyword:'';}" placeholder="昵称或手机关键词" class="input-sm form-control">
			                                    <span class="input-group-btn">
			                                      <button type="submit" class="btn btn-sm btn-primary"> 搜索</button>
			                                    </span>
                                </div>
                            </div>
                        </form>
                    </div>

                    <br />

                    <div class="table-responsive">
                        <form action="__URL__/operate" method="post" id="operate_form">
                            <table class="table table-bordered table-hover"
                                   id="categoryTable">
                                <thead>
                                <tr class="active">
                                    <th><input onclick="choosebox(this)" type="checkbox" /></th>
                                    <th height="40">编号</th>
                                    <th>头像</th>
                                    <th>昵称</th>
                                    <th>绑定手机</th>
                                    <th width="140">注册时间</th>
                                   
                                </tr>
                                </thead>
                                <tbody>
                                {volist name="users" id="users"}
                                    <tr>
                                        <td><input type="checkbox" name="users_id[]" value="{$users['id']}" /></td>
                                        <td>{$users['id']}</td>
                                        <td>
                                            <img alt="image" style="width:50px;height:50px;" class="img-circle" src="__STATIC__/uploads/{$users.head_url}"></td>
                                        <td>{if condition="$users['nick_name']"}{$users['nick_name']}{else/}暂无{/if}</td>
                                        <td>
                                            {if condition="$users['phone']"}
                                                {$users['phone']}
                                                {else/}
                                                暂无
                                            {/if}
                                        </td>

                                        <td>{$users['created_at']|date="Y-m-d H:i:s",###}</td>
                                    
                                    </tr>
                                {/volist}
                                </tbody>
                            </table>
                            {if condition="!empty($team['team3'])"}
                            <div class="ibox-title">
                                    <h5>二级会员</h5>
                            </div>
                             <table class="table table-bordered table-hover"
                                   id="categoryTable">
                                <thead>
                                <tr class="active">
                                    <th><input onclick="choosebox(this)" type="checkbox" /></th>
                                    <th height="40">编号</th>
                                    <th>头像</th>
                                    <th>昵称</th>
                                    <th>绑定手机</th>
                                    <th width="140">注册时间</th>
                                    
                                </tr>
                                </thead>
                                <tbody>
                                {volist name="team.team" id="users"}
                                    <tr>
                                        <td><input type="checkbox" name="users_id[]" value="{$users['id']}" /></td>
                                        <td>{$users['id']}</td>
                                        <td>
                                            <img alt="image" style="width:50px;height:50px;" class="img-circle" src="__STATIC__/uploads/{$users.head_url}"></td>
                                        <td>{if condition="$users['nick_name']"}{$users['nick_name']}{else/}暂无{/if}</td>

                                        <td>
                                            {if condition="$users['phone']"}
                                                {$users['phone']}
                                                {else/}
                                                暂无
                                            {/if}
                                        </td>

                                        <td>{$users['created_at']|date="Y-m-d H:i:s",###}</td>
                                       
                                    </tr>
                                {/volist}
                                </tbody>
                            </table>
                            {else /}
                            {/if}
                            {if condition="!empty($team['team3'])"}
                            <div class="ibox-title">
                                <h5>三级会员</h5>
                            </div>
                             <table class="table table-bordered table-hover"
                                   id="categoryTable">
                                <thead>
                                <tr class="active">
                                    <th><input onclick="choosebox(this)" type="checkbox" /></th>
                                    <th height="40">编号</th>
                                    <th>头像</th>
                                    <th>昵称</th>
                                    <th>绑定手机</th>
                                    <th width="140">注册时间</th>
                                    
                                </tr>
                                </thead>
                                <tbody>
                              
                                {volist name="team.team3" id="users"}
                                    <tr>
                                        <td><input type="checkbox" name="users_id[]" value="{$users['id']}" /></td>
                                        <td>{$users['id']}</td>
                                        <td>
                                            <img alt="image" style="width:50px;height:50px;" class="img-circle" src="__STATIC__/uploads/{$users.head_url}"></td>
                                        <td>{if condition="$users['nick_name']"}{$users['nick_name']}{else/}暂无{/if}</td>

                                        <td>
                                            {if condition="$users['phone']"}
                                                {$users['phone']}
                                                {else/}
                                                暂无
                                            {/if}
                                        </td>

                                        <td>{$users['created_at']|date="Y-m-d H:i:s",###}</td>
                                       
                                    </tr>
                                {/volist}
                              
                                </tbody>
                            </table>
                            {else /}
                            {/if}
                        </form>
                        <div class="col-sm-12" style="padding:0px;">
                            <ul class="pagination  pull-right">
                        
                            </ul>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>

</body>

</html>